package com.leo.ibatis.demo.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.leo.ibatis.demo.criteria.OrderstatusCriteria;
import com.leo.ibatis.demo.domain.Orderstatus;

public interface OrderstatusDao {

	void insert(Orderstatus orderstatus) throws DataAccessException;

	int update(Orderstatus orderstatus) throws DataAccessException;

	int delete(int linenum, int orderid) throws DataAccessException;

	Orderstatus select(int linenum, int orderid) throws DataAccessException;

	List<Orderstatus> list(OrderstatusCriteria orderstatusCriteria) throws DataAccessException;
	
	List<Orderstatus> listOnPage(OrderstatusCriteria orderstatusCriteria) throws DataAccessException;
	
	int count(OrderstatusCriteria orderstatusCriteria) throws DataAccessException;

}
